//
//  HZCategoryGoodsListData.h
//  app
//
//  Created by 刘华舟 on 15/5/25.
//  Copyright (c) 2015年 hdaren. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "HZGoodsModel.h"

static const NSInteger kCategoryGoodsListMainViewHeight = 80;

@interface HZCategoryGoodsListData : NSObject

@property (nonatomic,assign) CGFloat headerViewHeight;

@property (nonatomic,assign) BOOL noMoreData;

@property (strong, nonatomic) NSString *message;
@property (strong, nonatomic) NSString *timestamp;
@property (strong, nonatomic) NSString *pageNum;

@property (strong, nonatomic) NSDictionary *userInfo;
@property (strong, nonatomic) NSArray *topBanners;
@property (strong, nonatomic) NSArray *bottomBanners;


@property (nonatomic,assign) NSInteger lastObjectIndex;

@property (strong, nonatomic) NSArray *goodsArray;

+ (instancetype)dataWithDictionary:(NSDictionary *)dict;
- (instancetype)initDataWithDictionary:(NSDictionary *)dict;

-(HZGoodsModel *)fetchCellModelAtRow:(NSInteger)row;
- (BOOL)addMoreDataWithArray:(NSArray *)moreDatas;

@end
